:: load YYR's python runtime
set PYTHON_DIR=C:\Users\SML\AppData\Local\Programs\Python\Python310
set PATH=%PYTHON_DIR%;%PYTHON_DIR%\Scripts;%PATH%

:: install necessray packages
:: pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
:: pip install -i https://pypi.tuna.tsinghua.edu.cn/simple fire pyserial PyYAML paho-mqtt pytz watchdog

:: run daq_test
cd C:\workspace\uav_kjt_-yyr
start "serial_simulator"  "python" "emulator\serial_simulator.py"
start "udp_simulator"  "python" "emulator\udp_simulator.py"
python uav_daq.py

